/**
 * Filename: YNNewsComment.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/3/4 11:59
 */
package com.github.postsanf.yinian.bean;
/**
 * 忆年消息评论实体类
 */
public class YNNewsComment extends BaseBean
{

    private int     mid;											    // ID
    private int     type;												// 类型(暂时备用)
    private String  upic;											    // 头像
    private String  mtime;										        // 时间
    private String  unickname;									        // 用户昵称
    private String  mcontent;									        // 内容
    private int     meid;									            // 动态ID
    private int     mstatus;										    // 评论状态
    private String  efirstpic;									        // 第一张图片

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUpic() {
        return upic;
    }

    public void setUpic(String upic) {
        this.upic = upic;
    }

    public String getMtime() {
        return mtime;
    }

    public void setMtime(String mtime) {
        this.mtime = mtime;
    }

    public String getUnickname() {
        return unickname;
    }

    public void setUnickname(String unickname) {
        this.unickname = unickname;
    }

    public String getMcontent() {
        return mcontent;
    }

    public void setMcontent(String mcontent) {
        this.mcontent = mcontent;
    }

    public int getMeid() {
        return meid;
    }

    public void setMeid(int meid) {
        this.meid = meid;
    }

    public int getMstatus() {
        return mstatus;
    }

    public void setMstatus(int mstatus) {
        this.mstatus = mstatus;
    }

    public String getEfirstpic() {
        return efirstpic;
    }

    public void setEfirstpic(String efirstpic) {
        this.efirstpic = efirstpic;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNNewsComment) {
            return this.mid == ((YNNewsComment) o).mid;
        }
        return super.equals(o);
    }
}
